package com.itheima.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
@Data
@ConfigurationProperties(prefix = "spring.cloud.alicloud")
public class AliOssProperties implements Serializable {



    private String endpoint="https://oss-cn-hangzhou.aliyuncs.com";

    private String accesskey;
    private String secretkey;


    private String bucketName = "reggie-dish-images-boot";
}
